﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<style type="text/css">
    #carousel-example-generic {
        width: 100%;
        max-height: 300px;
    }

        #carousel-example-generic .item {
            text-align: center;
        }

        #carousel-example-generic img {
            max-height: 300px;
            margin:auto;
        }
</style>
<div class="row">
    <div class="col-md-2"></div>
    <div class="col-md-8">
        <ul id="myTab" class="nav nav-tabs">
            <li class="active">
                <a href="#News" data-toggle="tab">新闻信息</a>
            </li>
            <li><a href="#Notice" data-toggle="tab">园区公告</a></li>
            <li><a href="#Advent" data-toggle="tab">广告信息</a></li>
            <li><a href="#Policy" data-toggle="tab">政策信息</a></li>
            <li><a href="#Enterprise" data-toggle="tab">企业信息</a></li>
        </ul>
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade in active" id="News">
                <div class="input-group">
                    <input type="text" name="q" class="form-control" placeholder="搜索..." />
                    <span class="input-group-btn">
                        <button type='submit' name='search' typename="peblish" typenumber="1" class="btn btn-flat search-btn"><i class="fa fa-search"></i></button>
                    </span>
                </div>
                <table class="table table-striped table-hover text-center" id="table1">
                    <thead>
                        <tr>
                            <th style="width:40%">申请标题</th>
                            <th style="width:25%">申请时间</th>
                            <th style="width:20%">申请人</th>
                            <th style="width:15%">操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        @if (ViewBag.PeblishList1 != null)
                        {
                            foreach (MinHangWisdomParkWeb.Controllers.ShenHe a in ViewBag.PeblishList1 as List<MinHangWisdomParkWeb.Controllers.ShenHe>)
                            {
                                <tr>
                                    <td>@a.Title</td>
                                    <td>@a.Time</td>
                                    <td>@a.Updater</td>
                                    <td><button type="button" class="btn btn-info" data-toggle="modal" data-target="#modelxiangxi" typename="新闻" applyid="@a.ApplyID" peblishid="@a.Content">查看详情</button></td>
                                </tr>
                            }
                        }
                    </tbody>
                </table>
                <nav class="pull-right">
                    <ul class="pagination">
                        <li>
                            <a href="#" aria-label="Previous" class="ListPrevious" id="paginpre1">
                                <span aria-hidden="true">&laquo;</span>
                            </a>
                        </li>

                        <li>
                            <a href="#" aria-label="Next" class="ListNext">
                                <span aria-hidden="true">&raquo;</span>
                            </a>
                        </li>
                    </ul>
                </nav>
            </div>
            <div class="tab-pane fade" id="Notice">
                <div class="input-group">
                    <input type="text" name="q" class="form-control" placeholder="搜索..." />
                    <span class="input-group-btn">
                        <button type='submit' name='search' typename="peblish" typenumber="2" class="btn btn-flat search-btn"><i class="fa fa-search"></i></button>
                    </span>
                </div>
                <table class="table table-striped table-hover text-center" id="table2">
                    <thead>
                        <tr>
                            <th style="width:40%">申请标题</th>
                            <th style="width:25%">申请时间</th>
                            <th style="width:20%">申请人</th>
                            <th style="width:15%">操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        @if (ViewBag.PeblishList2 != null)
                        {
                            foreach (MinHangWisdomParkWeb.Controllers.ShenHe a in ViewBag.PeblishList2 as List<MinHangWisdomParkWeb.Controllers.ShenHe>)
                            {
                                <tr>
                                    <td>@a.Title</td>
                                    <td>@a.Time</td>
                                    <td>@a.Updater</td>
                                    <td><button type="button" class="btn btn-info" data-toggle="modal" data-target="#modelxiangxi" typename="园区" applyid="@a.ApplyID" peblishid="@a.Content">查看详情</button></td>
                                </tr>
                            }
                        }
                    </tbody>
                </table>
                <nav class="pull-right">
                    <ul class="pagination">
                        <li>
                            <a href="#" aria-label="Previous" class="ListPrevious" id="paginpre2">
                                <span aria-hidden="true">&laquo;</span>
                            </a>
                        </li>

                        <li>
                            <a href="#" aria-label="Next" class="ListNext">
                                <span aria-hidden="true">&raquo;</span>
                            </a>
                        </li>
                    </ul>
                </nav>
            </div>
            <div class="tab-pane fade" id="Advent">
                <div class="input-group">
                    <input type="text" name="q" class="form-control" placeholder="搜索..." />
                    <span class="input-group-btn">
                        <button type='submit' name='search' typename="peblish" typenumber="3" class="btn btn-flat search-btn"><i class="fa fa-search"></i></button>
                    </span>
                </div>
                <table class="table table-striped table-hover text-center" id="table3">
                    <thead>
                        <tr>
                            <th style="width:40%">申请标题</th>
                            <th style="width:25%">申请时间</th>
                            <th style="width:20%">申请人</th>
                            <th style="width:15%">操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        @if (ViewBag.PeblishList3 != null)
                        {
                            foreach (MinHangWisdomParkWeb.Controllers.ShenHe a in ViewBag.PeblishList3 as List<MinHangWisdomParkWeb.Controllers.ShenHe>)
                            {
                                <tr>
                                    <td>@a.Title</td>
                                    <td>@a.Time</td>
                                    <td>@a.Updater</td>
                                    <td><button type="button" class="btn btn-info" data-toggle="modal" data-target="#modelxiangxi" typename="广告" applyid="@a.ApplyID" peblishid="@a.Content">查看详情</button></td>
                                </tr>
                            }
                        }
                    </tbody>
                </table>
                <nav class="pull-right">
                    <ul class="pagination">
                        <li>
                            <a href="#" aria-label="Previous" class="ListPrevious" id="paginpre3">
                                <span aria-hidden="true">&laquo;</span>
                            </a>
                        </li>

                        <li>
                            <a href="#" aria-label="Next" class="ListNext">
                                <span aria-hidden="true">&raquo;</span>
                            </a>
                        </li>
                    </ul>
                </nav>
            </div>
            <div class="tab-pane fade" id="Policy">
                <div class="input-group">
                    <input type="text" name="q" class="form-control" placeholder="搜索..." />
                    <span class="input-group-btn">
                        <button type='submit' name='search' typename="peblish" typenumber="4" class="btn btn-flat search-btn"><i class="fa fa-search"></i></button>
                    </span>
                </div>
                <table class="table table-striped table-hover text-center" id="table4">
                    <thead>
                        <tr>
                            <th style="width:40%">申请标题</th>
                            <th style="width:25%">申请时间</th>
                            <th style="width:20%">申请人</th>
                            <th style="width:15%">操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        @if (ViewBag.PeblishList4 != null)
                        {
                            foreach (MinHangWisdomParkWeb.Controllers.ShenHe a in ViewBag.PeblishList4 as List<MinHangWisdomParkWeb.Controllers.ShenHe>)
                            {
                                <tr>
                                    <td>@a.Title</td>
                                    <td>@a.Time</td>
                                    <td>@a.Updater</td>
                                    <td><button type="button" class="btn btn-info" data-toggle="modal" data-target="#modelxiangxi" typename="政策" applyid="@a.ApplyID" peblishid="@a.Content">查看详情</button></td>
                                </tr>
                            }
                        }

                    </tbody>
                </table>
                <nav class="pull-right">
                    <ul class="pagination">
                        <li>
                            <a href="#" aria-label="Previous" class="ListPrevious" id="paginpre4">
                                <span aria-hidden="true">&laquo;</span>
                            </a>
                        </li>

                        <li>
                            <a href="#" aria-label="Next" class="ListNext">
                                <span aria-hidden="true">&raquo;</span>
                            </a>
                        </li>
                    </ul>
                </nav>
            </div>
            <div class="tab-pane fade" id="Enterprise">
                <div class="input-group">
                    <input type="text" name="q" class="form-control" placeholder="搜索..." />
                    <span class="input-group-btn">
                        <button type='submit' name='search' typename="peblish" typenumber="4" class="btn btn-flat search-btn"><i class="fa fa-search"></i></button>
                    </span>
                </div>
                <table class="table table-striped table-hover text-center" id="table5">
                    <thead>
                        <tr>
                            <th style="width:40%">申请标题</th>
                            <th style="width:25%">申请时间</th>
                            <th style="width:20%">申请人</th>
                            <th style="width:15%">操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        @if (ViewBag.PeblishList5 != null)
                        {
                            foreach (MinHangWisdomParkWeb.Controllers.ShenHe a in ViewBag.PeblishList5 as List<MinHangWisdomParkWeb.Controllers.ShenHe>)
                            {
                                <tr>
                                    <td>@a.Title</td>
                                    <td>@a.Time</td>
                                    <td>@a.Updater</td>
                                    <td><button type="button" class="btn btn-info" data-toggle="modal" data-target="#modelxiangxi" typename="企业" applyid="@a.ApplyID" peblishid="@a.Content">查看详情</button></td>
                                </tr>
                            }
                        }
                    </tbody>
                </table>
                <nav class="pull-right">
                    <ul class="pagination">
                        <li>
                            <a href="#" aria-label="Previous" class="ListPrevious" id="paginpre5">
                                <span aria-hidden="true">&laquo;</span>
                            </a>
                        </li>

                        <li>
                            <a href="#" aria-label="Next" class="ListNext">
                                <span aria-hidden="true">&raquo;</span>
                            </a>
                        </li>
                    </ul>
                </nav>
            </div>
        </div>
    </div>
    <div class="col-md-2"></div>
</div>

<!-- Modal -->
<div class="modal fade" id="modelxiangxi" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel"></h4>
            </div>
            <div class="modal-body" id="myModelContent">

            </div>
            <div class="modal-footer" tag="" id="mymodeltag">
                <div class="row">
                    <div class="col-md-12">
                        <textarea class="form-control" rows="3" placeholder="请填写审核意见"></textarea>
                    </div>
                </div>
                <button type="button" class="btn btn-danger queren" tag="0">不通过</button>
                <button type="button" class="btn btn-primary queren" tag="1">通&nbsp;&nbsp;&nbsp;&nbsp;过</button>
            </div>
        </div>
    </div>
</div>

<input type="hidden" id="BuniessNumber1" value="@ViewBag.n[0]" />
<input type="hidden" id="BuniessNumber2" value="@ViewBag.n[1]" />
<input type="hidden" id="BuniessNumber3" value="@ViewBag.n[2]" />
<input type="hidden" id="BuniessNumber4" value="@ViewBag.n[3]" />
<input type="hidden" id="BuniessNumber5" value="@ViewBag.n[4]" />
<script src="~/ViewScripts/AuthorizationAudit-Peblishindex.js"></script>
<script src="~/ViewScripts/fanye.js"></script>